﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.Specialized;
using System.Web;
using VCommons;

namespace Standard
{

    /// <summary>
    /// 订车信息相关动作
    /// </summary>
    public class RentalCarImplement
    {
        #region Properties

        public RentalCar GetRentalCarImplement()
        {
            var httpCookie = HttpContext.Current.Request.Cookies[ClientHelper.RentalCarName];
            if (httpCookie != null)
                return VCommons.Encryptor.Utility.DecryptString(httpCookie.Value).FromJson<RentalCar>();
            else
                return null;

        }


        #endregion

    }

    ;
}
